function MainView() {
  // constructor;
  var viewModelContainer=new ViewModelContainer();
  MainView.prototype.viewModelContainer=viewModelContainer
  ko.applyBindings(viewModelContainer);
}

MainView.prototype = Object.create(IView.prototype);
MainView.prototype.bindData = function(dataContentArray) {
	this.viewModelContainer.resourcesModel.updateResources(dataContentArray);	
}

MainView.prototype.cleanData = function(){
	$("#tabtestcontent").children("tbody").children(".trcontent").remove();	
}


MainView.prototype.getSearchCriteria = function(){
	return this.viewModelContainer.filterModel.getSearchCriteria();
}

MainView.prototype.setNavigationButtonsAvailability = function (navigationButtonsModel) {
	this.viewModelContainer.navigatorButtonsModel.setNavigationButtonsAvailability(navigationButtonsModel);
};
